Repository navigation
Expand shortcuts, window commands, and mouse gestures - #163
Open
leafOfTree wants to merge 29 commits into
Open
leafOfTree wants to merge 29 commits into
leafOfTree wants to merge 29 commits into
Conversation
- Support Win-key combinations and media keys in gesture SendKeys and low-level shortcut recording - Add general window commands (minimize, maximize/restore, snap left/right half, move to next monitor, close window, system screenshot) - Add custom programs and commands (Execute) across shortcuts, the command palette, and mouse gestures with bidirectional conflict resolution - Add live stroke trail rendering while drawing mouse gestures (enabled by default) and move + Add gesture directly below the gesture table - Add opt-in screen edge scrolling and screen corner triggers under Mouse Gestures with multi-monitor inner-border exclusion and dwell hysteresis Refs #161
- Save a custom command's edits even when another program still holds its shortcut, and run what is saved now when the key is pressed. - Give hand-written custom commands without an id a stable one, so their shortcut can be found and released. - Take the release and repeats of a key a shortcut box recorded, so no key is left down after recording a Win chord or media key. - Draw the gesture trail onto one surface per stroke instead of repainting a new bitmap every tick. - Word a blank program target from the interface strings. - Rebuild the custom command rows after their own buttons' clicks. - Label the button that clears an edge or corner action "Remove action". - Set each screen edge's scroll and each corner from the command palette, and find a choosing command by the value it shows.
# Conflicts: # WtProgram/CommandPalette.fs # WtProgram/Commands.fs # WtProgram/ManagerViewService/SettingsEditors.fs # WtProgram/ManagerViewService/Views/HotKeyView.fs # WtProgram/Program.fs # WtProgram/Shared/ProgramTypes.fs # WtProgram/Shared/Services.fs # WtProgram/Shared/Strings.fs # WtProgram/WtProgram.fsproj # tests/Architecture.fsx # tests/CommandPalette.fsx # tests/GroupEditor.fsx # tests/GroupLifecycle.fsx # tests/GroupOperations.fsx # tests/SettingsEditors.fsx # tests/SplitViewDesktop.fsx
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #161
Summary
Win& media keys): SupportWinmodifier chords (e.g.Win+Shift+S,Win+Shift+T,Win+D), media/volume keys (Vol+,Vol-,Mute,Play/Pause,Next,Prev), andPrtScinGestureKeysandAnyKeyshortcut editors, using a scopedWH_KEYBOARD_LLcapture hook during recording so Windows does not interceptWin+*shortcuts before capture completes.Everywhere, unbound by default) commands toCommands.alland the Command Palette:minimize-window,maximize-window(toggle maximize/restore),snap-window-left,snap-window-right(compensating invisible DWM frame bounds),move-window-next-monitor,close-window, andopen-system-screenshot(ms-screenclip:).Execute): AddcustomCommandsinsettings.jsonandGestureRuninGestureActionto launch programs, scripts, or URIs (with optional arguments and hidden-window toggle) from global shortcuts, the Command Palette, mouse gestures, edge scroll, and screen corners, with full bidirectional shortcut conflict resolution.GestureTrailoverlay (showGestureTrail, enabled by default alongsideshowGestureHint), place+ Add gesturedirectly beneath the gesture rows, and move the right-click hint legend to the footer below the toggles.enableEdgeScroll(wheel up and wheel down on outer monitor edges) andenableHotCorners(hotCornerDelay, default200ms, with leave hysteresis, outer-corner multi-monitor checks, and full-screen/mouse-down guards) with independent bindings for each trigger. In Add gesture, select Screen gestures and pick an edge and wheel direction or a corner on the screen diagram. Configured triggers appear in the Everywhere list for editing or removal. The page retains separate enable switches and the corner delay. Each binding can send a shortcut, run a WindowTabs command, or launch a program, script or URI.Win+Shift+S, PowerToys Text Extractor,Umi-OCR) inREADME.mdand provide translations acrossen,zh,ja,ar, andko.Verification
dotnet build WindowTabs.sln(Debug & Release, 0 warnings / 0 errors)MouseGestures,CommandPalette,SettingsEditors,Architecture,SettingsTheme,DpiLayout